package solver.moves;

import java.util.ArrayList;
import java.util.List;

public class VariableNeighBourhood {
	List<AbstractMove> moves = new ArrayList<AbstractMove>();
	
	public String toString(){
		StringBuffer bf = new StringBuffer();
		long called_moves =0;
		for(AbstractMove m:moves){
			bf.append(m.getStatistics()+"\n");
			called_moves += m.getStat().calls;
		}
		bf.append("called moves="+called_moves+"\n");
		return bf.toString();
	}

	public boolean add(AbstractMove e) {
		return moves.add(e);
	}
	
	public void reset(){
		
	}
}
